#ifndef __OUTPUT_H_
#define __OUTPUT_H_

#define STOP       0
#define LOW_SPEED  1
#define HIGH_SPEED 2
enum output_type
{
	H1 = 0,
	H2,
	FAN
};

void output_func(void);
void set_out(enum output_type out_t, uint8_t status);
uint32_t get_output_runtime(enum output_type s);
uint32_t get_output_stoptime(enum output_type s);

typedef struct{
	uint16_t is_h1_running  : 1; //bit0
	uint16_t is_h2_running  : 1; //bit1
	uint16_t is_fan_running : 1; //bit2
}output_status_t;

extern output_status_t  out_status;
#endif